# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

if(TARGET Qt6::Quick)
    qt_internal_add_example(samegame)
    qt_internal_add_example(calqlatr)
    qt_internal_add_example(clocks)
    qt_internal_add_example(tweetsearch)
    qt_internal_add_example(maroon)
    qt_internal_add_example(stocqt)
endif()
if(TARGET Qt6::Quick AND TARGET Qt6::QuickControls2)
    qt_internal_add_example(colorpaletteclient)
    qt_internal_add_example(coffee)
    if(ANDROID OR IOS)
        qt_internal_add_example(hangman)
    endif()
endif()
if(TARGET Qt6::Quick AND TARGET Qt6::Network AND TARGET Qt6::QmlXmlListModel)
    qt_internal_add_example(rssnews)
    qt_internal_add_example(photoviewer)
endif()
if(TARGET Qt6::Quick AND TARGET Qt6::qsb AND TARGET Qt6::Pdf)
    qt_internal_add_example(photosurface)
endif()
if(TARGET Qt6::Widgets)
    qt_internal_add_example(documentviewer)
endif()
